﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using SysInfo;

namespace CubePresentation
{
    /// <summary>
    /// StartWindow.xaml 的交互逻辑
    /// </summary>
    public partial class StartWindow : Window
    {
        public StartWindow()
        {
            InitializeComponent();
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            //CubePresentation.MainWindow cb = new CubePresentation.MainWindow();
            //cb.Show();
            AdviceWindow __CaseWindow = new AdviceWindow(Constant.DB_DATABASE, "yuqing", new TableInfo());
            __CaseWindow.Title = "公共事件数据库";
            __CaseWindow.Show();
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            AdviceWindow __AdviceWindow = new AdviceWindow(Constant.DB_DATABASE, "weibo_celebrity", new TableInfo());
            __AdviceWindow.Show();
        }

        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            AdviceWindow __RumorWindow = new AdviceWindow(Constant.DB_DATABASE, "rumor", new TableInfo());
            __RumorWindow.Title = "谣言数据库";
            __RumorWindow.Show();
        }
    }
}
